@import '../../var';
@import '../../common.scss';
.list {
  width: 100%;
  padding: 0 40rpx;
  .card {
    display: flex;
    position: relative;
    align-items: center;
    height: 272rpx;
    border-bottom: 1rpx solid $border-color;
    .img {
      display: block;
      width: 200rpx;
      height: 200rpx;
      margin-right: 24rpx;
      position: relative;
      border-radius: 12rpx;
      overflow: hidden;
      flex-shrink: 0;
      image {
        width: 100%;
        height: 100%;
      }
      .play {
        width: 42rpx;
        height: 42rpx;
        position: absolute;
        left: 22rpx;
        bottom: 22rpx;
      }
    }
    .info {
      display: flex;
      flex-direction: column;
      justify-content: center;
      flex: 1;
      height: 200rpx;
      overflow: hidden;
      .title {
        width: 100%;
        font-size: 28rpx;
        line-height: 28rpx;
        overflow: hidden; //超出一行文字自动隐藏
        white-space: nowrap; //强制不换行
        text-overflow: ellipsis; //文字隐藏后添加省略号
      }
      .prices {
        display: flex;
        align-items: flex-end;
        width: 100%;
        color: $decor-color;
        font-size: 20rpx;
        margin-top: 8rpx;
        .price {
          align-items: flex-end;
          font-size: 30rpx;
          .priceTitile {
            color: $price-color;
          }
          .free {
            color: $info-color;
          }
          .gold {
            font-size: 20rpx;
            padding-bottom: 6rpx;
            padding-left: 4rpx;
            font-weight: 300;
          }
        }
        view {
          display: flex;
          align-items: flex-end;
          margin-right: 15rpx;
          color: $price-color;
          font-weight: 600;
          font-size: 30rpx;
          text {
            color: $info-color;
          }
        }
      }
      .bottom {
        display: flex;
        justify-content: space-between;
        // margin-top: 24rpx;
        .left {
          display: flex;
          flex-direction: column;
          flex-wrap: wrap;
          width: 100%;
          color: $decor-color;
          font-size: 20rpx;
          .lines {
            position: relative;
            width: 100%;
            height: 8rpx;
            background-color: $border-color;
            border-radius: 4rpx;
            .redLine {
              min-width: 0rpx;
              max-width: 100%;
              height: 8rpx;
              background-color: $mall-color;
              border-radius: 4rpx;
            }
          }
          .tips {
            margin-top: 8rpx;
            width: 100%;
            height: 28rpx;
          }
          .marketPrice {
            margin-bottom: 2rpx;
            font-size: 20rpx;
            margin-top: 28rpx;
          }
        }
      }
    }
    .topay {
      position: absolute;
      bottom: 36rpx;
      right: 20rpx;
      width: 140rpx;
      height: 48rpx;
      color: #fff;
      font-size: 24rpx;
      line-height: 48rpx;
      text-align: center;
      background-color: $price-color;
      border-radius: 35rpx;
    }
  }
}
